<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><%= title %></title>
    <link rel="stylesheet" href="stylesheets/style.css" />
  </head>
  <body>
    <h1>Photos</h1>
    <p>Express stock photo application.</p>
    <div id="photos">
      <% photos.forEach(function(photo) { %>
      <div class="photo">
        <h2><%= photo.name %></h2>
        <img src="<%= photo.path %>" alt="photo" />
      </div>
      <% }) %>
    </div>
    <div><span><%= locals.prev %></span><span><%= locals.next %></span></div>
    <div><%= locals.save %></div>
  </body>
</html>
